package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishesService {
    PageResult page(DishPageQueryDTO dishPageQueryDTO);

    void addDishes(DishDTO dishDTO);

    void deleteDishes(List<Integer> ids);

    void updateDishes(DishDTO dishDTO);

    DishVO getById(Integer id);

    List<DishVO> findByList(Integer categoryId);

    void updateStatus(Integer status, Integer id);

    List<DishVO> listWithFlavor(Dish dish);
}
